<?php

use Illuminate\Database\Seeder;

class AdminTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('admins')->insert([
            ['username' => 'xyf', 'password' => bcrypt('123456'), 'nickname' => '测试账号', 'email' => '975429148@qq.com', 'phone' => '18638345656', 'address' => '洛阳市洛龙区', 'created_at' => '2017-02-16', 'updated_at' => '2017-02-16'],
            ['username' => 'ding', 'password' => bcrypt('123456'), 'nickname' => '丁渊博', 'email' => '913421658@qq.com', 'phone' => '18511612274', 'address' => '洛阳市老城区', 'created_at' => '2017-02-16', 'updated_at' => '2017-02-16'],
        ]);
    }
}
